package com.smedi.ismedi.progress.core.port.adapter.persistence.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.smedi.ismedi.database.starter.model.BasicFieldEntity;
import io.swagger.annotations.ApiModelProperty;
import lombok.*;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * 项目简报主表Entity类
 *
 * @author liaojiajie
 * @date 2022/09/16
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@EqualsAndHashCode(callSuper = false)
@TableName(value = "project_brief_report")
public class ProjectBriefReportEntity extends BasicFieldEntity implements Serializable {
    /**
     * 主表id
     */
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 项目id/主体院id/总院id
     */
    private Long organizationOrProjectId;
    /**
     * 类型（0 项目 1 组织 ）
     */
    private Long type;
    /**
     * 简报名称
     */
    private String briefReportName;

    /**
     * 统计时段
     */
    private LocalDateTime statisticalTime;

    /**
     * 记录时间
     */
    private LocalDateTime recordTime;

    /**
     * 类型(0、项目简报 1、主体院简报 2、总院简报)
     */
    private Long briefReportType;

    /**
     * 备注信息
     */
    private String remarksInformation;

}